Automattic\WooCommerce\GoogleListingsAndAds\MerchantCenter\AccountService B

Total Complexity 79
Dependencies 22
Dependents 7
Total lines 625
Lines of code 350
Logical lines of code 209
Comment lines 181
Methods 19
Properties 4

Methods 19

Method Rating Maintainability Complexity Lines of code
setup_account_steps()
B
33 21 96
use_existing_account_id()
A
49 8 29
maybe_add_merchant_center_url()
A
46 7 37
update_wpcom_api_authorization()
S
47 5 42
is_wpcom_api_status_healthy()
S
53 6 20
get_connected_status()
S
54 5 21
setup_account()
S
60 5 13
switch_url()
S
59 4 13
prepare_exception()
S
67 4 7
overwrite_claim()
S
60 3 12
reset_account_setup()
S
64 2 11
disconnect()
S
57 1 18
link_ads_account()
S
65 2 9
get_setup_status()
S
80 1 3
get_accounts()
S
80 1 3
reset_wpcom_api_authorization_data()
S
74 1 5
delete_wpcom_api_auth_nonce()
S
80 1 3
delete_wpcom_api_status_transient()
S
76 1 4
__construct()
S
76 1 4